import request from "@/utils/request.js";
// 获取热搜
export const getHotSearch = () => {
  return request({
    method: "GET",
    url: "/search/hot/detail"
  });
};
// 获取热搜
export const getsuggest = params => {
  return request({
    method: "GET",
    url: "/search/suggest",
    params
  });
};
// 搜索
export const getSearchContent = params => {
  return request({
    method: "GET",
    url: "/cloudsearch",
    params
  });
};
